package org.tarea.app.deploy.controller

import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.GetMapping

@Controller
class IndexController {
    @GetMapping(value = [
        "/", "/umi-micro-app", "/webpack-micro-app", "/ice-micro-app", "/vite-micro-app"
    ])
    fun index(model: Model): String {
        model.addAttribute("title", "Spring Boot + React")
        return "index"
    }
}